package cn.waqwb.pojo3;

/**
 * @Classname School
 * @Description TODO
 * @Date 2022/9/6 20:07
 * @Created by Administrator
 */
public class School {
    private String name;
    private String address;

    //使用带参构造方法注入
    public School(String name, String address) {
        this.name = name;
        this.address = address;
    }

    @Override
    public String toString() {
        return "School{" +
                "name='" + name + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
